package cn.akwangl.design.pattern.creational.abstractfactory;

/**
 * 抽象工厂的实现.
 *
 * @author youyongkun
 * @date 2021/11/24 10:12
 * @since 1.0
 */
public class JavaCourseFactory extends AbstractCourseFactory {
    @Override
    public IVideo getVideo() {
        return new JavaVideo();
    }

    @Override
    public IArticle getArticle() {
        return new JavaArticle();
    }
}
